/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import entities.Person;
import entities.SubjectMatter;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author corneliugosa
 */
@Local
public interface SubjectMatterFacadeLocal {

    void create(SubjectMatter subjectMatter);

    void edit(SubjectMatter subjectMatter);

    void remove(SubjectMatter subjectMatter);

    SubjectMatter find(Object id);
    
    SubjectMatter findById (Integer id);

    List<SubjectMatter> findAll();

    List<SubjectMatter> findRange(int[] range);
    
    List<SubjectMatter> findByClassAndProf(Person proffessor, Integer cls);

    int count();
    
}
